package com.duolaibei.business.model;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by xlm on 2017/11/9 0009
 */

public class WorkerData extends ResponseResult {

    /**
     * data : {"data":[{"id":"411","uid":"315","workmen_uid":"40","status":"1","addtime":"1499993993","uptime":"1499993993"}],"page":"1","count":"1"}
     */

    private DataBeanX data;

    public DataBeanX getData() {
        return data;
    }

    public void setData(DataBeanX data) {
        this.data = data;
    }

    public static class DataBeanX {
        /**
         * data : [{"id":"411","uid":"315","workmen_uid":"40","status":"1","addtime":"1499993993","uptime":"1499993993"}]
         * page : 1
         * count : 1
         */

        private String page;
        private String count;
        private List<DataBean> data;

        public String getPage() {
            return page;
        }

        public void setPage(String page) {
            this.page = page;
        }

        public String getCount() {
            return count;
        }

        public void setCount(String count) {
            this.count = count;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean {
            /**
             * id : 411
             * uid : 315
             * workmen_uid : 40
             * status : 1
             * addtime : 1499993993
             * uptime : 1499993993
             * "nickname": "杭州财联集惠网络科技有限公司",
             " username": "demo1",
             " mobile": "13018383737"
             */

            private String id;
            private String uid;
            private String workmen_uid;
            @SerializedName("status")
            private String statusX;
            private String addtime;
            private String uptime;
            private String nickname;
            private String username;
            private String mobile;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getUid() {
                return uid;
            }

            public void setUid(String uid) {
                this.uid = uid;
            }

            public String getWorkmen_uid() {
                return workmen_uid;
            }

            public void setWorkmen_uid(String workmen_uid) {
                this.workmen_uid = workmen_uid;
            }

            public String getStatusX() {
                return statusX;
            }

            public void setStatusX(String statusX) {
                this.statusX = statusX;
            }

            public String getAddtime() {
                return addtime;
            }

            public void setAddtime(String addtime) {
                this.addtime = addtime;
            }

            public String getUptime() {
                return uptime;
            }

            public void setUptime(String uptime) {
                this.uptime = uptime;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public String getUsername() {
                return username;
            }

            public void setUsername(String username) {
                this.username = username;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }
        }
    }
}
